.class public Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private c:Landroid/widget/TextView;

.field private d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private e:Lcom/waiqin365/lightapp/view/NoNetView;

.field private f:Landroid/widget/RelativeLayout;

.field private g:Lcom/waiqin365/lightapp/chexiao/a/ae;

.field private h:Ljava/util/List;

.field private i:Ljava/util/List;

.field private j:Lcom/waiqin365/lightapp/product/s;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->h:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->i:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;)Lcom/waiqin365/lightapp/chexiao/a/ae;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a:Landroid/widget/TextView;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 4

    const v0, 0x7f0c054b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f08073a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const v1, 0x7f0203d2

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/hm;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/hm;-><init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0132

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->c:Landroid/widget/TextView;

    const v0, 0x7f0c054c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/a/ae;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->i:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/a/ae;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->h:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/ae;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->j:Lcom/waiqin365/lightapp/product/s;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/ae;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-static {}, Lcom/waiqin365/lightapp/chexiao/d/a;->o()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/ae;->d(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/hn;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/hn;-><init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/ae;->a(Lcom/waiqin365/lightapp/product/c/a;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->e:Lcom/waiqin365/lightapp/view/NoNetView;

    const v0, 0x7f0c0135

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->f:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0137

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a:Landroid/widget/TextView;

    const v1, 0x7f0805d3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 8

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    if-eqz p3, :cond_0

    const-string/jumbo v0, "selectedList"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/a/ae;->m()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->clear()V

    if-eqz v0, :cond_3

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->a()Ljava/lang/Long;

    move-result-object v3

    if-nez v3, :cond_1

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    new-instance v3, Ljava/util/Random;

    invoke-direct {v3}, Ljava/util/Random;-><init>()V

    const/16 v6, 0x3e8

    invoke-virtual {v3, v6}, Ljava/util/Random;->nextInt(I)I

    move-result v3

    int-to-long v6, v3

    add-long/2addr v4, v6

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/Long;)V

    goto :goto_1

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/chexiao/a/ae;->a(Ljava/util/List;)V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/a/ae;->notifyDataSetChanged()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x457
        :pswitch_0
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->finish()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/a/ae;->m()Ljava/util/List;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v2, "selectedList"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v0, -0x1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->finish()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c0137 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 7

    const/16 v6, 0x8

    const/4 v5, 0x1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0300e1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "productModel"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/s;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->j:Lcom/waiqin365/lightapp/product/s;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->j:Lcom/waiqin365/lightapp/product/s;

    if-nez v0, :cond_0

    sget-object v0, Lcom/waiqin365/lightapp/product/s;->s:Lcom/waiqin365/lightapp/product/s;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->j:Lcom/waiqin365/lightapp/product/s;

    :cond_0
    new-instance v0, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iput-boolean v5, v0, Lcom/waiqin365/lightapp/product/d/j;->l:Z

    const-string/jumbo v1, "2147483647"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->h:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->i:Ljava/util/List;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/j;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :try_start_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->h:Ljava/util/List;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "selectedList"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "carNo"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    const v0, 0x7f080624

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v5, [Ljava/lang/Object;

    const/4 v2, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "carNo"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Landroid/text/SpannableStringBuilder;

    invoke-direct {v1, v0}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V

    new-instance v2, Landroid/text/style/ForegroundColorSpan;

    const-string/jumbo v3, "#5BADEB"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-direct {v2, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    const-string/jumbo v3, "["

    invoke-virtual {v0, v3}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    const-string/jumbo v4, "]"

    invoke-virtual {v0, v4}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    const/16 v4, 0x21

    invoke-virtual {v1, v2, v3, v0, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->f:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->e:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f080593

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->b(Ljava/lang/String;)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/a/ae;->m()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->a:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0805d3

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->g:Lcom/waiqin365/lightapp/chexiao/a/ae;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/chexiao/a/ae;->m()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSelectPdForBFHKActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1
.end method
